body{
    background-color: #fff;
}
// 顶部导航栏
.top-bar{
    background: #333;
    color: #fff;
    width: 100%;
    height: 40px;
    position: sticky;
    top:0;
    z-index: 2;
    .top-box{
        font-size: 12px;
        height: 40px;
        margin: 0 auto;
        max-width: 1240px;
        text-align: left;

        .top-nav-list{
            float: left;
            height: 100%;
            a{
                box-sizing: border-box;
                color: #fff;
                cursor: pointer;
                display: inline-block;
                height: 100%;
                line-height: 20px;
                margin-right: 25px;
                padding: 10px 0;
            }
        }
        .top-user-box{
            float: right;
            height: 100%;
            .user-box{
                position: relative;
                float: left;
                .text-lnk{
                    box-sizing: border-box;
                    color: #fff;
                    cursor: pointer;
                    display: inline-block;
                    height: 100%;
                    line-height: 20px;
                    margin-right: 25px;
                    padding: 10px 0;
                    text-align: center;
                }
                .user-more-list{
                    width: 100px;
                    background: #fff;
                    border-radius: 4px;
                    box-shadow: 0 0 8px -4px rgb(0,0,0,0.5);
                    display: none;
                    position: absolute;
                    left: 50%;
                    top: 5px;
                    margin-left: -50px;
                    padding: 0 10px;
                    .user-name{
                        font-weight: 700;
                        // overflow: hidden;
                        text-overflow: ellipsis;
                        color: #666;
                    }
                    a{
                        color: #666;
                        display: block;
                        box-sizing: border-box;
                        height: 30px;
                        text-align: center;
                        line-height: 20px;
                        padding: 5px 0;
                    }
                }
                .loginAndRegister{
                    float: left;
                    // width: 100px;
                    height: 40px;
                    line-height: 40px;
                    span{
                        float: left;
                        // width: 100px;
                        display: block;
                        color: #fff;
                    }
                    a{
                        float: left;
                        display: block;
                        color: #fff;
                        margin-left: 20px;
                    }
                }
            }
            .cart-box{
                position: relative;
                float: right;
                .text-lnk{
                    box-sizing: border-box;
                    color: #fff;
                    cursor: pointer;
                    display: inline-block;
                    height: 40px;
                    line-height: 22px;
                    margin-left: 20px;
                    padding: 9px 0;
                    text-align: center;
                    width: 44px;
                    .index-icon{
                        background-position: -110px -49px;
                        height: 22px;
                        margin: -1px 0;
                        vertical-align: top;
                        width: 24px;
                        background-image: url(../images/index02.png);
                        background-repeat: no-repeat;
                        background-size: 200px 240px;
                        display: inline-block;
                    }
                }
                .cart-detail-box{
                    background: #fff;
                    border-radius: 0 0 4px 4px;
                    box-shadow: 0 0 8px -4px rgb(0,0,0,0.5);
                    display: none;
                    position: absolute;
                    right: 0;
                    top: 44px;
                    width: 295px;
                    .text-lnk{
                        box-sizing: border-box;
                        cursor: pointer;
                        display: inline-block;
                        margin-right: 0;
                        line-height: 22px;
                        margin-left: 20px;
                        padding: 9px 0;
                        text-align: center;
                        width: 44px;
                        height: 40px;
                        background-color: #fff;
                        border-radius: 4px 4px 0 0;
                        position: absolute;
                        right: 0;
                        top: -40px;
                        .index-icon{
                            background-position: -140px -49px;
                            background-image: url(../images/index02.png);
                            background-repeat: no-repeat;
                            background-size: 200px 240px;
                            display: inline-block;
                            margin-top: -4px;
                            height: 22px;
                            margin: -1px 0;
                            vertical-align: top;
                            width: 24px;

                        }
                    }
                    .js_cart_box{
                        .cart-box-text{
                            color: #333;
                            padding: 30px 0;
                            text-align: center;
                        }
                    }
                }
            }
            
        }
    }
}
// 网页头部
.head{
    width: 100%;
    border-bottom: 1px solid #333;
    .head-box{
        width: 1240px;
        margin: 0 auto;
        padding: 30px 0 10px 0;
        background-color: #fff;
        .logo-box{
            margin-right: 50px;
            float: left;
            width: 180px;
            height: 36px;
            a{
                width: 180px;
                height: 36px;
                display: block;
                background-image: url(../images/index01.png);
                background-size: 180px 36px;
            }
        }
        .nav-box{
            float: left;
            width: 500px;
            height: 36px;
            line-height: 36px;
            ul{

                li{
                    float: left;
                    font-size: 18px;
                    color: #333;
                    margin-right: 50px;
                }
            }
        }
        .search-box{
            float: right;
            height: 100%;
            position: relative;
            width: 420px;
            .search-bar{
                background: rgba(255,255,255,0.8);
                border: 1px solid #ccc;
                border-radius: 18px;
                box-sizing: border-box;
                height: 100%;
                padding: 5px 30px;
                position: relative;
                text-align: left;
                width: 100%;
                .search-ipt{
                    background: transparent;
                    height: 24px;
                    outline: none;
                    padding: 0;
                    width: 340px;
                    border: 0;
                }
                .big-search{
                    background-position: -170px -48px;
                    cursor: pointer;
                    width: 24px;
                    height: 24px;
                    position: absolute;
                    right: 20px;
                    top: 5px;
                    width: 24px;
                    background-image: url(../images/index02.png);
                    background-repeat: no-repeat;
                    background-size: 200px 240px;
                    display: inline-block;
                    }
                }
            .search-text{
                color: #666;
                font-size: 12px;
                line-height: 15px;
                overflow: hidden;
                padding: 6px 30px 0;
                text-align: left;
                ul{
                    width: 300px;
                    color: #666;
                    padding-top: 6px;
                    li{
                        float: left;
                        margin-right: 10px;
                        cursor: pointer;
                    }
                }
            }
            }
        }
}
// 网页商品列表区域
.search-box{
    width: 100%;
    background: #fff;
    font-size: 14px;
    .search-nav{
        border-bottom: 1px solid #e8e8e8;
        color: #0e0e0e;
        height: 48px;
        line-height: 48px;
        margin: 0 auto;
        width: 1240px;
    }
}
.filter-box{
    background: #fff;
    font-size: 14px;
    width: 100%;
    .filter{
        border-bottom: 1px solid #e8e8e8;
        line-height: 48px;
        margin: 0 auto;
        width: 1240px;
        .hint{
            color: #31373c;
            height: 48px;
            line-height: 48px;
            width: 60px;
        }
        .option_box{
            height: 48px;
            a{
                color: #848484;
                display: inline-block;
                width: 100px;
                padding-right: 15px;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
            }
            .filter-chkbox{
                color: #848484;
                display: inline-block;
                padding-right: 15px;
                vertical-align: top;
            }
        }
    }
}
.list-box{
    background: #f5f5f5;
    padding: 16px 0 30px;
    width: 100%;
    .listwrap{
        width: 1240px;
        margin: 0 auto;
        .list-container{
            width: 1250px;
            .list-item{
                background: #fff;
                border: 1px solid #E4E4E4;
                display: inline-block;
                float: left;
                height: 328px;
                width: 238px;
                margin: 5px 5px 15px;
                .pic{
                    padding: 40px 30px 10px;
                }
                .cont{
                    margin: 0;
                    font-size: 16px;
                    text-align: center;
                    .title{
                        color: #31373c;
                        display: block;
                        font-size: 14px;
                        height: 24px;
                        line-height: 24px;
                        margin: 0 auto;
                        overflow: hidden;
                        text-align: center;
                        text-overflow: ellipsis;
                        white-space: nowrap;
                        width: 90%;
                    }
                    .price{
                        color: #fa5437;
                        font-size: 14px;
                    }
                }
            }
            
            
        }
    }
}
// 网页商城简介区域
.helper-floor{
        width: 100%;
        background-color: #fff;
        .footer-box{
            margin: 0 auto;
            width: 1240px;
            padding: 60px 0;
            .helper-box{
                float: left;
                margin-right: 100px;
                .helper-title{
                    font-size: 18px;
                    font-weight: 700;
                    line-height: 30px;
                    margin-bottom: 27px;
                }
                .helper-text{
                    display: block;
                    font-size: 14px;
                    line-height: 24px;
                    margin-bottom: 6px;
                }
            }
            .about-box{
                width: 320px;
                .follow-box{
                    border-top: 1px solid #666;
                    line-height: 30px;
                    margin-top: 20px;
                    padding-top: 19px;
                }
            }
            .lnk-box{
                .helper-text{
                    color: #666;
                }
            }
            .contact-box{
                float: right;
                border-left: 1px solid #979797;
                min-height: 230px;
                text-align: center;
                width: 300px;
                margin-right: 0;
                .big-text{
                    font-weight: 700;
                    font-size: 28px;
                    line-height: 30px;
                }
                .small-text{
                    color: #999;
                    font-size: 14px;
                    line-height: 30px;
                }
            }
        }
}
// 版权区域
.copyright-floor{
    width: 100%;
    background: #333;
    color: #fff;
    .footer-box{
        margin: 0 auto;
        width: 1240px;
        .service-policy-list{
            border-bottom: 1px solid #666;
            padding: 25px 0;
            text-align: center;
            .policy-item{
                color: #fff;
                display: inline-block;
                font-size: 24px;
                line-height: 30px;
                margin-right: 150px;
                vertical-align: top;
            }
        }
        .copyright-line{
            font-size: 14px;
            line-height: 20px;
            padding: 18px 0 21px;
            text-align: center;
            a{
                color: #fff;
            }
        }
    }
}